" File-specific settings
set modeline

" Indentation
filetype plugin indent on
set autoindent
set smarttab
set expandtab
set tabstop=4
set shiftwidth=0

" Look and feel
syntax on
set background=dark
set breakindent
set linebreak
set scrolloff=999
set wildmenu
set laststatus=2
set list
set listchars=tab:\|\ ,trail:⎵,nbsp:⸱
set noshowmode
if has('termguicolors')
    set termguicolors
endif
if g:mobile
    set nonumber
    if exists('&signcolumn')
        set signcolumn=auto
    endif
else
    set number
    if exists('&signcolumn')
        set signcolumn=yes
    endif
endif
colorscheme pop-punk

" Miscellaneous
set undofile
execute 'set undodir='.g:vimdir.'/undo,.'
set lazyredraw
set hidden
set autoread
set virtualedit=block
set nojoinspaces

if has('nvim')
    set inccommand=nosplit
endif
